package jp.ddo.trismegistos.action.impl;

import jp.ddo.trismegistos.annotation.Index;
import jp.ddo.trismegistos.exception.RsException;
import jp.ddo.trismegistos.service.UserCreateService;

import org.apache.log4j.Logger;

/**
 * ログイン画面に遷移するActionクラス。
 * 
 * @author y_sugasawa
 * @since 2011/06/04
 * 
 */
@Index
public class LoginAction extends AbstractAction {

	/** ログ */
	private static final Logger log = Logger.getLogger(LoginAction.class
			.getName());

	private UserCreateService userCreateService;

	@Override
	public String execute() throws RsException {
		userCreateService.existUser("hoge");
		return "login.jsp";
	}

	public void setUserCreateService(final UserCreateService userCreateService) {
		this.userCreateService = userCreateService;
	}
}
